package club.hicode.daydayup.single;

import org.junit.Test;

import java.io.IOException;

/**
 * 主要测试
 *
 * @author Liu Chunfu
 * @date 2018-06-13 下午5:40
 **/
public class MainTest {

    @Test
    public void test1() throws IOException {
        System.out.println("没有加载。。。");
        SinglePerson singlePerson = SingleTon1.singlePerson();
        SinglePerson singlePerson2 = SingleTon1.singlePerson();
        System.out.println(singlePerson == singlePerson2);
    }

    @Test
    public void tesst2() {
        System.out.println(666);
        //System.out.println(SingleTon2.singlePerson()==SingleTon2.singlePerson());
    }

    @Test
    public void test3() {
        System.out.println(SinglePerson3.single() == SinglePerson3.single());
    }
}
